package com.sundae.smarthomedemo.Utils;

import android.util.Log;

import com.sundae.smarthomedemo.MyAppConfig;

/**
 * Created by superace on 2017/6/5.
 * 邮箱 948820549@qq.com
 */

public class LogUtil {
    private static final boolean debug = MyAppConfig.isDebug;
    private static final String TAG = MyAppConfig.TAG;

    public static void e(String msg)
    {
        if( !debug ) return;
        Log.e(TAG , msg);
    }

    public static void e(String tag , String msg)
    {
        if( !debug ) return;
        Log.e(tag , msg);
    }
}
